package com.drama.api.base;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * 常用参数
 *
 */

public class Constants {
    public static final String TOKEN_PARAM_NAME = "token";
    public static final String TOKEN_SESSION_NAME = "getToken";

    public static final int SYS_SUCCESS=0;
    public static final int SQL_RETURN_SUCCESS=0;

    public static final String[] SYS_LOG_MODULE={"剧目管理","商户管理","提现管理","用户管理","角色管理","日志管理","下载审核"};

    public static final ExecutorService executor = new ThreadPoolExecutor(10, 10, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue<>());
}
